Add a hint about hiding expanders.
authorMatthias Clasen <mclasen@redhat.com>
Thu, 7 Apr 2005 13:36:48 +0000 (13:36 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 7 Apr 2005 13:36:48 +0000 (13:36 +0000)
2005-04-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add
a hint about hiding expanders.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-8
docs/reference/ChangeLog
docs/reference/gtk/question_index.sgml
gtk/gtktreeview.c

index 7946d527210cc186314d4f07a4966fe8d733d96f..0eb9670405f62a9a21a0541ee45394307e6c75c7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-04-07  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add 
+       a hint about hiding expanders.
+
        * gtk/updateiconcache.c (is_cache_up_to_date): Return 
        TRUE if the cache is newer than the directory.  (#172852,
        Jacob Kroon)
index 7946d527210cc186314d4f07a4966fe8d733d96f..0eb9670405f62a9a21a0541ee45394307e6c75c7 100644 (file)
@@ -1,5 +1,8 @@
 2005-04-07  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add 
+       a hint about hiding expanders.
+
        * gtk/updateiconcache.c (is_cache_up_to_date): Return 
        TRUE if the cache is newer than the directory.  (#172852,
        Jacob Kroon)
index 7946d527210cc186314d4f07a4966fe8d733d96f..0eb9670405f62a9a21a0541ee45394307e6c75c7 100644 (file)
@@ -1,5 +1,8 @@
 2005-04-07  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/gtktreeview.c (gtk_tree_view_set_expander_column): Add 
+       a hint about hiding expanders.
+
        * gtk/updateiconcache.c (is_cache_up_to_date): Return 
        TRUE if the cache is newer than the directory.  (#172852,
        Jacob Kroon)
index 58737a3a719f77f02cc26f8f70f30f83d7f66b93..f76dfd2dcb5a88666c48b611493e150df68c6fc9 100644 (file)
@@ -1,5 +1,8 @@
 2005-04-07  Matthias Clasen  <mclasen@redhat.com>
 
+       * gtk/question_index.sgml: Add a question about hiding
+       tree view expanders.
+
        * gtk/tmpl/gtkradiobutton.sgml: Add a sentence about
        toggling.  (#159382, Worik Stanton)
 
index d062c4e36c754316cfd14215cebe0f70967c5cdf..2456e03ce1f2deb54d1d2292e5f0dc45e4e68a52 100644 (file)
@@ -965,9 +965,18 @@ set_up_new_columns (GtkTreeView *myview)
 </para></answer>
 </qandaentry>
 
-</qandadiv>
+<qandaentry>
+<question><para>
+How do I hide the expander arrows in my tree view ?
+</para></question>
 
+<answer><para>
+Set the expander-column property of the tree view to a hidden column.
+See <link linkend="gtk-tree-view-set-expander-column">gtk_tree_view_set_expander_column()</link> and <link linkend="gtk-tree-view-column-set-visible">gtk_tree_view_column_set_visible()</link>.
+</para></answer>
+</qandaentry>
 
+</qandadiv>
 
 </qandaset>
 
index f037f28bf1c63f10d6ebb47d9ea23001e383282a..b0ee48f1c807dace0e2c93a4262aa2bb753c35cf 100644 (file)
@@ -10058,9 +10058,12 @@ gtk_tree_view_move_column_after (GtkTreeView       *tree_view,
  * @tree_view: A #GtkTreeView
  * @column: %NULL, or the column to draw the expander arrow at.
  *
- * Sets the column to draw the expander arrow at. It must be in @tree_view.  If
- * @column is %NULL, then the expander arrow is always at the first visible
- * column.
+ * Sets the column to draw the expander arrow at. It must be in @tree_view.  
+ * If @column is %NULL, then the expander arrow is always at the first 
+ * visible column.
+ *
+ * If you do not want expander arrow to appear in your tree, set the 
+ * expander column to a hidden column.
  **/
 void
 gtk_tree_view_set_expander_column (GtkTreeView       *tree_view,